import React from 'react'
import { useLocation, useNavigationType } from 'react-router-dom'

export default function About() {
  console.log("about userlocation", useLocation().state)
  /**
   * 进入该路由地址的方式
   * POP 刷新
   * PUSH 推入
   * REPLACE 替换
   *  */ 
  console.log(useNavigationType())
  return (
    <div>About</div>
  )
}
